package com.example.demospring5.primary.definebean;

public class SecondBean {
    private  String secondName;

    public SecondBean() {
        this.secondName ="SecondBean";
    }


    @Override
    public String toString() {
        return "SecondBean{" +
                "secondName='" + secondName + '\'' +
                '}';
    }

    public void setSecondName(String secondName) {
        this.secondName = secondName+"set-secondName-2";
    }
}
